<!--
描述：艺术中心-系统管理-学生信息-查看组件
开发人：hqj
开发日期：2017年12月18日
-->
<template lang="pug">
    kalix-dialog.user-add(bizKey="artStudent" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
        div.el-form.kalix-form-table(slot="dialogFormSlot")
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="入学年份" prop="entranceYear" v-bind:label-width="labelWidth")
                    kalix-date-picker(v-model="formModel.entranceYear" type="year" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="专业" prop="majorName" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.majorName" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="班级" prop="className" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.className" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="辅导员" prop="instructor" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.instructor" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="学生培养层次" prop="trainingLevel" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.trainingLevel" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="学习年限" prop="period" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.period" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="学号" prop="code" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.code" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="姓名" prop="name" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.name" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="身份证号" prop="identificationCard" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.identificationCard" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="性别" prop="sex" v-bind:label-width="labelWidth")
                    kalix-dict-select(v-model="formModel.sex" appName="admin" dictType="性别" disabled)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="出生日期" prop="birthday" v-bind:label-width="labelWidth")
                    kalix-date-picker(v-model="formModel.birthday" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="民族" prop="nation" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.nation" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="籍贯" prop="placeOfOrigin" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.placeOfOrigin" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="家庭联系电话" prop="homePhone" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.homePhone" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="政治面貌" prop="politicalStatus" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.politicalStatus" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="入党(团)时间" prop="joinPartyDate" v-bind:label-width="labelWidth")
                    kalix-date-picker(v-model="formModel.joinPartyDate" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="现联系地址" prop="address" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.address" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="邮政编码" prop="postalcode" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.postalcode" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="固定电话" prop="phone" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.phone" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="手机" prop="mobile" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.mobile" readonly)
            div.s-flex
                el-form-item.s-flex_item.kalix-form-table-td(label="邮箱" prop="email" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.email" readonly)
                el-form-item.s-flex_item.kalix-form-table-td(label="生源省份" prop="province" v-bind:label-width="labelWidth")
                    kalix-dict-select(v-model="formModel.province" appName="admin" dictType="省份" disabled)
</template>
<script type="text/ecmascript-6">
    import FormModel from './model'

    export default {
        name: 'AdminStudentView',
        data() {
            return {
                formModel: Object.assign({}, FormModel),
                labelWidth: '140px'
            }
        },
        components: {},
        created() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus">
</style>
